FROM docker:dind

LABEL maintainer="tan.yi1993@163.com" \
    description="该镜像魏添加了172.20.31.116:82私库地址的版本"

RUN mkdir /etc/docker && \
    echo '{ "insecure-registries":["172.20.31.116:82"] }' >> /etc/docker/daemon.json

ENTRYPOINT ["dockerd-entrypoint.sh"]

#参考config.toml:
#concurrent = 2
#check_interval = 0
#
#[[runners]]
#  name = "hall"
#  url = "http://172.18.20.250/ci"
#  token = "4FsMPUDGx6Wip3pWt6qD"
#  executor = "docker"
#  [runners.docker]
#    tls_verify = false
#    image = "docker:latest"
#    privileged = true
#    disable_cache = false
#    cache_dir = "cache"
#    volumes = ["/var/run/docker.sock:/var/run/docker.sock","/data/gitlab-runner/cache:/cache:rw"]
#    shm_size = 0
#  [runners.cache]